package cn.tedu._04weibo.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class CommentAddParam {
    @Schema(description = "微博ID", required = true)
    @NotBlank(message = "微博ID不能为空")
    private Long weiboId;
    @Schema(description = "评论内容", required = true)
    @Size(min = 1, max = 200, message = "评论内容长度必须在1-200之间")
    private String content;
}
